package com.example.web;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication
@MapperScan("com.example.repository")
@EnableAspectJAutoProxy(proxyTargetClass = true)
@ComponentScan({
        "com.example.service",
        "com.example.web.controller",
        "com.example.web.aop",
        "com.example.web.filter",
        "com.example.configs",
        "com.example.common.util",
        "com.example.common.mail.impl",
        "com.example.common.threadpool",
        "com.example.common.qquserinfo",
        "com.example.worker"
})
public class BlogApplication {
    public static void main(String[] args) {
        SpringApplication.run(BlogApplication.class, args);
    }
}

